<%@ page import="com.xhhospital.entity.Brxx" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: 76554
  Date: 2023/4/25
  Time: 22:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <style>
        h4{
            width: 100%;
            background-color: #EBEBEB;

        }
        .tr1{
            width: 100%;
            background-color: #F4F4F4;
        }
        table tr td input{
            background-color: #C7EDCC;
        }
        .ta1 tr th{
            background-color: #5DA0DC;
            color: #FFFFFF;
        }
        .ta1{
            border-collapse: collapse;
            border: 1px solid #BED6EC;
            width: 90%;
        }
        .ta1 tr{
            border: 1px solid #BED6EC;
        }
        .ta1 tr td{
            border: 0px;
        }
        h4 a{
            position: relative;
            left: 1320px;
            top: 0px;
        }
        .a1{
            position: relative;
            left: 200px;
            top: 0px;
            border: 1px solid #7CA751;
            background-color: #E7E7E6;
            color: #2323FF;
        }

    </style>
</head>
<body>
<h4><img src="res/img/1.gif"/>&nbsp;病例信息管理<a href="#">返回</a></h4>
<form action="showedit1">
    <table style="width: 100%;">
        <tr class="tr1">
            <td>&nbsp;&nbsp;病例编号:&nbsp;&nbsp;<input type="text" name="blbh"/>&nbsp;
                姓名:&nbsp;&nbsp;<input type="text" name="brxm"/>&nbsp;
                <input type="submit" value="查询"style="background-color: #F8F8F7;"><a class="a1" href="luru.jsp">病例新增</a></td>

        </tr>

    </table><br>
    <table class="ta1" style="text-align: center">
        <tr>
            <th>就诊卡号</th><th>病例编号</th><th>姓名</th><th>查看详情</th><th>附加下载</th><th>操作</th>
        <%
            List<Brxx> list=(List<Brxx>) request.getAttribute("showbrxx");
            if(list!=null){
                for(int i= 0;i<list.size();i++){
                    Brxx brxx=new Brxx();
                    brxx=list.get(i);
        %>
        <tr>
            <td><%=brxx.getJzkh()%></td>
            <td><%=brxx.getBlbh()%></td>
            <td><%=brxx.getBrxm()%></td>
            <td><a href='#'>&nbsp;>>详细</a></td>
            <td><a href='#'>&nbsp;下载</a></td>
            <td><a href='editbrxx?jzkh=<%=brxx.getJzkh()%>'>修改</a>&nbsp;<a href='delBrxx?jzkh=<%=brxx.getJzkh()%>'>删除</a></td>
        </tr>
        <%
                }
            }
        %>
    </table>
</form>
</body>
</html>